home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKit
/
Palettes
/
MiscTableScroll
/
MiscTableFocusPS.psw
< prev
next >
Wrap
Text File
|
1996-02-11
|
2KB
|
42 lines
//=============================================================================
//
// Copyright (C) 1995 by Paul S. McCarthy and Eric Sunshine.
// Written by Paul S. McCarthy and Eric Sunshine.
// All Rights Reserved.
//
// This notice may not be removed from this source code.
//
// This object is included in the MiscKit by permission from the authors
// and its use is governed by the MiscKit license, found in the file
// "License.rtf" in the MiscKit distribution. Please refer to that file
// for a list of all applicable permissions and restrictions.
//
//=============================================================================
//-----------------------------------------------------------------------------
// MiscTableFocusPS.psw
//
// Uses instance drawing to draw (and erase) a dashed box.
//
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// MISC_TF_drawBox
//-----------------------------------------------------------------------------
defineps MISC_TF_drawBox( float x, y, w, h, gray )
gsave
true setinstance
gray setgray
[3] 0 setdash
x y w 1 sub h 1 sub rectstroke
false setinstance
grestore
endps
//-----------------------------------------------------------------------------
// MISC_TF_eraseBox
//-----------------------------------------------------------------------------
defineps MISC_TF_eraseBox( float x, y, w, h )
x y w h hideinstance
endps